body{
    padding: 0;
    margin: 0;
}

.box{
    width: 400px;
    height: 680px;
    background-color: lightseagreen;
    /*居中*/
    margin: 0 auto;
}

.text{
    font-size: 40px;
    color: #fff;
    margin: 0 auto;
    text-align: center;
    height: 70px;
    line-height: 70px;
}

.seconds{
    color: lightsalmon;
    margin: 0 auto;
    text-align: center;
    height: 40px;
    line-height: 40px;
    margin-bottom: 10px;
    font-size: 25px;
}

.main{
    width: 340px;
    height: 550px;
    background-color: #333;

    margin: 0 auto;
    position: relative;
}

/*游戏黑白格*/
.gameTable{
    width: 100%;
    height: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    border: 3px #23d5ab solid;
    padding-left: 1px;
}
.gameTable table tr{
    height: 134px;
}
.gameTable table tr td{
    width: 110px;
    background-color: #fff;
}

.selectModel{
    position: absolute;
    width: 400px;
    height: 680px;

    /*设置背景覆盖效果*/
    background-color: rgba(0,0,0,.5);
    margin-top: -120px;

    /*设置字体*/
    color: #333;
    font-size: 30px;

    /*在上方显示*/
    z-index: 1;
}

.gameOver{
    position: absolute;
    width: 400px;
    height: 680px;

    /*设置背景覆盖效果*/
    background-color: rgba(0,0,0,.5);
    margin-top: -120px;

    /*设置字体*/
    color: red;
    font-size: 50px;

    text-align: center;

    /*在上方显示*/
    z-index: 1;

    display: none;
}

.gameOver p{
    display: block;
    margin: 60% auto;
}

.restart{
    color: lightcoral;
    width: 200px;
    height: 60px;

    line-height: 60px;
    margin: 0 auto;

    background-color: #1e6fff;
    border-radius: 10px;
    z-index: 1;
    display: none;

    margin-top: -100px;
}
.restart:hover{
    cursor: pointer;
}

.selectModel div{
    margin: 60% auto;
    width: 250px;
    height: 210px;
}

.selectModel div div{
    width: 200px;
    height: 60px;
    line-height: 60px;

    /*每个选项的按钮背景颜色*/
    background-color: lightskyblue;
    /*上下边距*/
    margin: 30px 20px;
    /*文本居中*/
    text-align: center;

    border-radius: 10px;
}

.selectModel div div:hover{
    cursor: pointer;
}